Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
Select and Highlight Specific Textbox Value Start From Index 5 to 8 on Keyup (JavaScript | jQuery)

I am trying to autocomplete the year in a textbox when the first 5 characters (11/12) entered. Would like to append '/2021'. Make the '/2021' highlighted to give the user the option to manually enter the year or to accept the suggestion (11/12/2021). How can I do it in JavaScript? The jquery select() method has no option to select specific textbox value.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!